﻿<form enctype="multipart/form-data" method="post" id="uploadpic" 
	name="upform" dotype="ajax" callback="uploadpic" 
	target="upload_target" action="{:U('User://Account/avatar',array('t'=>'upload'))}">
		<input type="file" name="Filedata"/> 
	<input type="submit" /> 
</form>